package com.sfy.lotterysystem.repository;

import com.sfy.lotterysystem.entity.WinRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface WinRecordRepository extends JpaRepository<WinRecord, Integer> {
    List<WinRecord> findByUserId(Integer userId);
}